package com.csx.orm.mybatisplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csx.orm.mybatisplus.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {


    @Select("SELECT count(*) from user/*+flushCache*/")
    Long selectCountX();

    @Select("SELECT count(1) from user/*+flushCache*/")
    Long selectCountOne();


}
